<include file="public@header" />
</head>

<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active">
				<a href="{:url('Jobs/index')}">职位管理</a>
			</li>
			<li>
				<a href="{:url('Jobs/add')}">添加职位</a>
			</li>
		</ul>
		<form method="post" class="js-ajax-form" action="{:url('AdminCategory/listOrder')}">
			<!-- <div class="table-actions">
				<button type="submit" class="btn btn-primary btn-sm js-ajax-submit">{:lang('SORT')}</button>
			</div> -->
			<table class="table table-hover table-bordered table-list">
				<thead>
					<tr>
						<!-- <th width="50">排序</th> -->
						<th width="50">ID</th>
						<th>职位名称</th>
						<th>类别</th>
						<th>公司名</th>
						<th>地点</th>
						<th>招聘人数</th>
						<!-- <th>描述</th> -->
						<th width="180">操作</th>
					</tr>
				</thead>
				<tbody>
					<volist name="list" id="vo">
						<tr>
							<td>{$vo.id}</td>
							<td>{$vo.name}</td>
							<td>{$vo.category_name}</td>
							<td>{$vo.company_name}</td>
							<td>{$vo.location}</td>
							<td>{$vo.people_number}</td>
							<td>
								<a href="{:url('edit',['id'=>$vo.id])}">编辑</a>
								<a class="js-ajax-delete" href="{:url('delete',['id'=>$vo.id])}">删除</a>
							</td>
						</tr>
					</volist>
				</tbody>
				<tfoot>
					<tr>
						<!-- <th width="50">排序</th> -->
						<th width="50">ID</th>
						<th>分类名称</th>
						<!-- <th>描述</th> -->
						<th width="180">操作</th>
					</tr>
				</tfoot>
			</table>
			<!-- <div class="table-actions">
				<button type="submit" class="btn btn-primary btn-sm js-ajax-submit">{:lang('SORT')}</button>
			</div> -->
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>

</html>